package com.lanswon.qzsmk.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
 * 交易明细流水表
 * @author sun
 *
 */
public class TransGlide implements Serializable {
    /** 交易明细流水ID-uuid */
    private String transGlideId;

    /** 市民卡号*/
    private String citizenCardNo;

    /** 应用类型  当收取卡片上某个应用的手续费、押金时填写*/
    private String appType;

    /** 账户类型  在充值时填写*/
    private String accountType;

    /** 交易类型 */
    private String txnTp;

    /** 费用类型 */
    private String feeTp;

    /** 交易流水标识 00正常，10撤销，20临时，21临时撤销 */
    private String txnAdjFlg;

    /** 交易金额  正数为收取现金，负数为支出现金 */
    private BigDecimal txnAmt;

    /** 网点子账号 */
    private String subaccountNo;

    /** 受理类型 仅填写01网点 */
    private String acceptTp;

    /** 业务流水号 */
    private String businessNo;

    /** 网点编号 */
    private String branchNo;

    /** 操作员编号 */
    private String oprNo;

    /** 交易时间 */
    private Date txnDt;

    /** 支付方式  0 现金   1兑换券  默认为0 */
    private String paymentType;

    /** 支付方式是否扩展 0 否    1 是默认为0 */
    private String paymentTypeExt;

    /** 轧帐日期 */
    private Date rptDate;

    /** 轧帐标识  0未过账1已过帐默认为0未过账 */
    private String rptFlag;

    /** 现金收付标志  1收取2支出 */
    private String cashFlag;

    /** 应用标识 */
    private String appFlag;

    /** 是否已退费 0未退费1已退费 */
    private String isReturned;

    /** 退费交易明细流水ID */
    private String returnTransGlideId;

    /** 是否可退费 */
    private String allowReturn;

    /** 卡费用规则ID */
    private String feeRuleId;

    /** 卡费用细则ID */
    private String feeRulesId;

    private static final long serialVersionUID = 1L;

    public String getTransGlideId() {
        return transGlideId;
    }

    public void setTransGlideId(String transGlideId) {
        this.transGlideId = transGlideId == null ? null : transGlideId.trim();
    }

    public String getCitizenCardNo() {
		return citizenCardNo;
	}

	public void setCitizenCardNo(String citizenCardNo) {
		this.citizenCardNo = citizenCardNo;
	}

	public String getAppType() {
        return appType;
    }

    public void setAppType(String appType) {
        this.appType = appType == null ? null : appType.trim();
    }

    public String getAccountType() {
        return accountType;
    }

    public void setAccountType(String accountType) {
        this.accountType = accountType == null ? null : accountType.trim();
    }

    public String getTxnTp() {
        return txnTp;
    }

    public void setTxnTp(String txnTp) {
        this.txnTp = txnTp == null ? null : txnTp.trim();
    }

    public String getFeeTp() {
        return feeTp;
    }

    public void setFeeTp(String feeTp) {
        this.feeTp = feeTp == null ? null : feeTp.trim();
    }

    public String getTxnAdjFlg() {
        return txnAdjFlg;
    }

    public void setTxnAdjFlg(String txnAdjFlg) {
        this.txnAdjFlg = txnAdjFlg == null ? null : txnAdjFlg.trim();
    }

    public BigDecimal getTxnAmt() {
        return txnAmt;
    }

    public void setTxnAmt(BigDecimal txnAmt) {
        this.txnAmt = txnAmt;
    }

    public String getSubaccountNo() {
        return subaccountNo;
    }

    public void setSubaccountNo(String subaccountNo) {
        this.subaccountNo = subaccountNo == null ? null : subaccountNo.trim();
    }

    public String getAcceptTp() {
        return acceptTp;
    }

    public void setAcceptTp(String acceptTp) {
        this.acceptTp = acceptTp == null ? null : acceptTp.trim();
    }

    public String getBusinessNo() {
        return businessNo;
    }

    public void setBusinessNo(String businessNo) {
        this.businessNo = businessNo == null ? null : businessNo.trim();
    }

    public String getBranchNo() {
        return branchNo;
    }

    public void setBranchNo(String branchNo) {
        this.branchNo = branchNo == null ? null : branchNo.trim();
    }

    public String getOprNo() {
        return oprNo;
    }

    public void setOprNo(String oprNo) {
        this.oprNo = oprNo == null ? null : oprNo.trim();
    }

    public Date getTxnDt() {
        return txnDt;
    }

    public void setTxnDt(Date txnDt) {
        this.txnDt = txnDt;
    }

    public String getPaymentType() {
        return paymentType;
    }

    public void setPaymentType(String paymentType) {
        this.paymentType = paymentType == null ? null : paymentType.trim();
    }

    public String getPaymentTypeExt() {
        return paymentTypeExt;
    }

    public void setPaymentTypeExt(String paymentTypeExt) {
        this.paymentTypeExt = paymentTypeExt == null ? null : paymentTypeExt.trim();
    }

    public Date getRptDate() {
        return rptDate;
    }

    public void setRptDate(Date rptDate) {
        this.rptDate = rptDate;
    }

    public String getRptFlag() {
        return rptFlag;
    }

    public void setRptFlag(String rptFlag) {
        this.rptFlag = rptFlag == null ? null : rptFlag.trim();
    }

    public String getCashFlag() {
        return cashFlag;
    }

    public void setCashFlag(String cashFlag) {
        this.cashFlag = cashFlag == null ? null : cashFlag.trim();
    }

    public String getAppFlag() {
        return appFlag;
    }

    public void setAppFlag(String appFlag) {
        this.appFlag = appFlag == null ? null : appFlag.trim();
    }

    public String getIsReturned() {
        return isReturned;
    }

    public void setIsReturned(String isReturned) {
        this.isReturned = isReturned == null ? null : isReturned.trim();
    }

    public String getReturnTransGlideId() {
        return returnTransGlideId;
    }

    public void setReturnTransGlideId(String returnTransGlideId) {
        this.returnTransGlideId = returnTransGlideId == null ? null : returnTransGlideId.trim();
    }

    public String getAllowReturn() {
        return allowReturn;
    }

    public void setAllowReturn(String allowReturn) {
        this.allowReturn = allowReturn == null ? null : allowReturn.trim();
    }

    public String getFeeRuleId() {
        return feeRuleId;
    }

    public void setFeeRuleId(String feeRuleId) {
        this.feeRuleId = feeRuleId == null ? null : feeRuleId.trim();
    }

    public String getFeeRulesId() {
        return feeRulesId;
    }

    public void setFeeRulesId(String feeRulesId) {
        this.feeRulesId = feeRulesId == null ? null : feeRulesId.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", transGlideId=").append(transGlideId);
        sb.append(", appType=").append(appType);
        sb.append(", accountType=").append(accountType);
        sb.append(", txnTp=").append(txnTp);
        sb.append(", feeTp=").append(feeTp);
        sb.append(", txnAdjFlg=").append(txnAdjFlg);
        sb.append(", txnAmt=").append(txnAmt);
        sb.append(", subaccountNo=").append(subaccountNo);
        sb.append(", acceptTp=").append(acceptTp);
        sb.append(", businessNo=").append(businessNo);
        sb.append(", branchNo=").append(branchNo);
        sb.append(", oprNo=").append(oprNo);
        sb.append(", txnDt=").append(txnDt);
        sb.append(", paymentType=").append(paymentType);
        sb.append(", paymentTypeExt=").append(paymentTypeExt);
        sb.append(", rptDate=").append(rptDate);
        sb.append(", rptFlag=").append(rptFlag);
        sb.append(", cashFlag=").append(cashFlag);
        sb.append(", appFlag=").append(appFlag);
        sb.append(", isReturned=").append(isReturned);
        sb.append(", returnTransGlideId=").append(returnTransGlideId);
        sb.append(", allowReturn=").append(allowReturn);
        sb.append(", feeRuleId=").append(feeRuleId);
        sb.append(", feeRulesId=").append(feeRulesId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}